<h1>{{ mediaFile.name }}</h1>

{% if mediaFile %}
    <img src="{{ mediaFile.file.url }}" />
{% else %}
    <p>No files present</p>
{% endif %}
<ul>
    <li> Vote -- Number of Votes</li>
{% for choice in mediaFile.vote_set.all %}
    <li>{{ choice.value }}--{{ choice.count }}</li>
{% endfor %}
</ul>

<a href="/randomMedia/">New Media?</a>